package com.klw.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.klw.common.annotation.Excel;
import com.klw.common.core.domain.BaseEntity;

/**
 * 学生对象 klw_students
 *
 * @author klw
 * @date 2025-09-13
 */
public class KlwStudents extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生ID */
    private Long studentId;

    /** 学号 */
    @Excel(name = "学号")
    private String studentNo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String studentName;

    /** 用户性别（0男 1女 2未知） */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;

    /** 专业 */
    @Excel(name = "专业")
    private Long majorId;

    /** 入学年级 */
    @Excel(name = "入学年级")
    private String grade;

    /** 班级 */
    @Excel(name = "班级")
    private Long classId;

    /** 入学成绩 */
    @Excel(name = "入学成绩")
    private BigDecimal admissionScore;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contact;

    /** 学籍状态(0在读 1休学 2退学 3毕业) */
    @Excel(name = "学籍状态(0在读 1休学 2退学 3毕业)")
    private String studentStatus;

    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }

    public void setStudentNo(String studentNo)
    {
        this.studentNo = studentNo;
    }

    public String getStudentNo()
    {
        return studentNo;
    }

    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }

    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }

    public void setMajorId(Long majorId)
    {
        this.majorId = majorId;
    }

    public Long getMajorId()
    {
        return majorId;
    }

    public void setGrade(String grade)
    {
        this.grade = grade;
    }

    public String getGrade()
    {
        return grade;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }

    public void setAdmissionScore(BigDecimal admissionScore)
    {
        this.admissionScore = admissionScore;
    }

    public BigDecimal getAdmissionScore()
    {
        return admissionScore;
    }

    public void setContact(String contact)
    {
        this.contact = contact;
    }

    public String getContact()
    {
        return contact;
    }

    public void setStudentStatus(String studentStatus)
    {
        this.studentStatus = studentStatus;
    }

    public String getStudentStatus()
    {
        return studentStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("studentId", getStudentId())
                .append("studentNo", getStudentNo())
                .append("studentName", getStudentName())
                .append("sex", getSex())
                .append("majorId", getMajorId())
                .append("grade", getGrade())
                .append("classId", getClassId())
                .append("admissionScore", getAdmissionScore())
                .append("contact", getContact())
                .append("studentStatus", getStudentStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
